function new_path=genpath_nosvn(parent)
% function new_path=genpath_nosvn(parent)
% just like genpath.m but removes '.svn' folders
% bcoe coe@queensu.ca
if nargin==0
    help(mfilename)
    new_path=genpath_nosvn(pwd);
    return
end
temp_path=textscan(genpath_nosvn(parent),'%s','delimiter',';');temp_path=temp_path{:};
temp_path(findincell(temp_path,'.svn'))=[]; 
new_path=sprintf('%s;',temp_path{:});